<script>
import { newsPost, newsSletct } from '@/api/api'
export default {
    data() {
        return {

        }
    },

    created(){
        this.getData()
    },

    methods:{
        getData(params){
            newsPost(params).then(res=>{
                console.log(res)
            })
        }
    }
}


</script>